<?php

namespace app\validate;

use share\validate\SceneValidate;

class DeviceInfoTableValidate extends SceneValidate{
    protected $rule = [      
        'deviceName' => 'length:2,60',
        'iotId' => 'length:2,60', 
    ];  
    
    
    protected $scene = [
        'list' => ['deviceName','iotId'],
    ];
}